﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace JaxaraRnD.Models.Objects
{
    public class Department
    {
        public virtual int Id { get; set; }

        public virtual string Name { get; set; }

        [UIHint("Employees")]
        public virtual IList<Employee> Employees { get; set; }

        public Department()
        {
            Employees = new List<Employee>();
        }
    }
}